import { createStore } from 'vuex'

export default createStore({
  state: {
    topBarId: 0, //topBarId,用于控制两块墙的点击
  },
  getters: {
  },
  mutations: {
    //topbar导航栏
    setTopBarId(state, payload) {
      state.topBarId = payload.topBarId
    }
  },
  actions: {
  },
  modules: {
  }
})
